import {get, postWithJson} from "@/api/requests";

/**
 * 会员积分历史记录配置
 * @param params
 * @returns {Promise<*>}
 */
export async function fetch(params) {
    return get('mempothis/fetch', params);
}

export async function fetchOne(params) {
    return get('mempothis/fetchOne', params);
}

export async function add(params) {
    return postWithJson('mempothis/add', params);
}

